<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>如风壁纸 - 收藏</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <header class="app-header">
        <h1 class="logo">我的收藏</h1>
    </header>

    <nav class="bottom-nav">
        <a href="index.html" class="nav-item active">
            <img src="icon/home.svg" alt="图标" width="48" height="48">
            <span>首页</span>
        </a>
        <a href="categories.html" class="nav-item">
            <img src="icon/find.svg" alt="图标" width="48" height="48">
            <span>发现</span>
        </a>
        <a href="favorites.html" class="nav-item">
            <img src="icon/favorite.svg" alt="图标" width="48" height="48">
            <span>收藏</span>
        </a>
        <a href="upload.html" class="nav-item">
            <img src="icon/upload.svg" alt="图标" width="48" height="48">
            <span>上传</span>
        </a>
    </nav>
    
    <main class="container">
        <div id="favorites-grid" class="wallpaper-grid">
            <!-- 收藏内容将通过JS动态加载 -->
            <div id="empty-favorites" class="empty-state hidden">
                <img src="icon/favorite.svg" alt="图标" width="38" height="38">
                <p>暂无收藏</p>
                <a href="index.html" class="btn">去浏览壁纸</a>
            </div>
        </div>
    </main>
    
    <script src="js/api.js"></script>
    <script src="js/storage.js"></script>
    <script src="js/favorites.js"></script>
</body>
</html> 